<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ArticleComment extends Model
{
    protected $table = 'article_comments';

    protected $appends = [
        'user_info' ,
    ];

    public function getUserInfoAttribute()
    {
        return User::find($this->user_id);
    }



}
